package org.despair2D.ui.events 
{
	import flash.events.Event;
	
	
	
public class SelectedEvent extends Event 
{
	
	public function SelectedEvent(type:String, selected:Boolean, bubbles:Boolean=false, cancelable:Boolean=false) 
	{ 
		super(type, bubbles, cancelable);
		
		m_selected = selected;
	} 
	
	
	public static const SELECT_CHANGE:String = 'selectChange';
	
	
	
	public function get selected() : Boolean
	{
		return m_selected;
	}
	
	
	
	public override function clone():Event 
	{ 
		return new SelectedEvent(type, bubbles, cancelable);
	} 
	
	public override function toString():String 
	{ 
		return formatToString("SelectedEvent", "type", "bubbles", "cancelable", "eventPhase"); 
	}
	
	
	
	private var m_selected:Boolean;
	
	
}
	
}